// Copyright 2019 Istio Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// package jwt includes sample JWT Token used in e2e tests.
package jwt

const (
	// Payload {
	//  "exp": 4714747295, # 05/28/2119
	//  "group": "group-1",
	//  "iat": 1561147295, # 06/21/2019
	//  "iss": "test-issuer-1@istio.io",
	//  "sub": "sub-1"
	// }
	// Generated by: security/tools/jwt/samples/gen-jwt.py key.pem -jwks=./jwks.json --expire=3153600000
	// --iss=test-issuer-1@istio.io --sub=sub-1 --claims=group:group-1
	// nolint: lll
	TokenIssuer1 = "eyJhbGciOiJSUzI1NiIsImtpZCI6InRUX3c5TFJOclk3d0phbEdzVFlTdDdydXRaaTg2R3Z5YzBFS1I0Q2FRQXciLCJ0eXAiOiJKV1QifQ.eyJleHAiOjQ3MTQ3NDcyOTUsImdyb3VwIjoiZ3JvdXAtMSIsImlhdCI6MTU2MTE0NzI5NSwiaXNzIjoidGVzdC1pc3N1ZXItMUBpc3Rpby5pbyIsInN1YiI6InN1Yi0xIn0.Ia6J0uNr89XxQR0_a2952-5HYPgvr5Z7tp3inZQMIStjoYl07MRMVtet4Ct3PTasM2Aj2JqyoL7CPHA2OVTfUioWH1uu_8B1pOgPpkfE06X9N0IKIA5EMh2bh-HI5FCMKVBSF4f4Gp6YlIBxNh6YalwCbR8FE-8Gz6cqRxdFMdbu-vZkbpLoZTg49IZlDkt5etSWFozK2hGcxFXF3KXQ_B-yAUJCtYgBllsBCwaGl0F22AvYFw27fmBxdNmWJwc_oXfmOOcmmPiwEk8jUeq3RHPhmCWJU9Drjk-v17CTQvt7Vs3aWR4PajbhMgQkbzK1zoST7fRdkZhwvar9li-zhA"

	// Payload {
	//  "exp": 4714747389, # 05/28/2119
	//  "group": "group-2",
	//  "iat": 1561147389, # 06/21/2019
	//  "iss": "test-issuer-2@istio.io",
	//  "sub": "sub-2"
	// }
	// Generated by: security/tools/jwt/samples/gen-jwt.py key.pem -jwks=./jwks.json --expire=3153600000
	// --iss=test-issuer-2@istio.io --sub=sub-2 --claims=group:group-2
	// nolint: lll
	TokenIssuer2 = "eyJhbGciOiJSUzI1NiIsImtpZCI6InRUX3c5TFJOclk3d0phbEdzVFlTdDdydXRaaTg2R3Z5YzBFS1I0Q2FRQXciLCJ0eXAiOiJKV1QifQ.eyJleHAiOjQ3MTQ3NDczODksImdyb3VwIjoiZ3JvdXAtMiIsImlhdCI6MTU2MTE0NzM4OSwiaXNzIjoidGVzdC1pc3N1ZXItMkBpc3Rpby5pbyIsInN1YiI6InN1Yi0yIn0.WNKjglp3ZyMcSkS4nDFsk2u8u399ARgEdfSsBXR1cA-4vtkXrBTcvdZVgG4e1gr38Mwd7wj5ibbPndes7U5iCymsDSzStXTXqs0ww9N2qvcwq1BJFFmlRDUvuLKOMr4lfhehGKbiSajYfbIwQ0-1r6SHosLK6P__oAGj4DeTOfhriAlEOjMIhPm2kYqMcnh3tc55u2BrSO2c9lP2nTnKXwcPwRPjnHfOUlJE1ssHj4Wdlww8lAs_0pEEFPFj1IOatOyaSM0yRwP-Yw4FVfSbuulfl3-hti6xVqt0ll2hbISNsYIQzoE-8paN4CaGdSvpPDT29ooGAVre7iOxotgjmQ"

	// Payload {
	//  "exp": 1561146548, # 06/21/2019
	//  "group": "group-1",
	//  "iat": 1561146547, # 06/21/2019
	//  "iss": "test-issuer-1@istio.io",
	//  "sub": "sub-1"
	// }
	// Generated by: security/tools/jwt/samples/gen-jwt.py key.pem -jwks=./jwks.json --expire=1
	// --iss=test-issuer-1@istio.io --sub=sub-1 --claims=group:group-1
	// nolint: lll
	TokenExpired = "eyJhbGciOiJSUzI1NiIsImtpZCI6InRUX3c5TFJOclk3d0phbEdzVFlTdDdydXRaaTg2R3Z5YzBFS1I0Q2FRQXciLCJ0eXAiOiJKV1QifQ.eyJhdWQiOiJhdWQtMSIsImV4cCI6MTU2MTE0NjU0OCwiZ3JvdXAiOiJncm91cC0xIiwiaWF0IjoxNTYxMTQ2NTQ3LCJpc3MiOiJ0ZXN0LWlzc3Vlci0xQGlzdGlvLmlvIiwic3ViIjoic3ViLTEifQ.b0lrXp3FZHhmcBcNWusn8BBhWbfH-JIEWOBAJcOVXemb1ax6WTtyPf-8-Rx-X_knW5tT-I41kiiOlbVMv5RvFIs_xlQ5lVNMPT7MMbdkBmRH4UT9cVNoTv8HeejKG169sjXQDTYyqPoFy0baKRB5Bhj0L1KTd9Im2z_hJyMBGIwrYUGXgByHbAMrf_zE5ejCz8Q3BmD784_fDarkrCYixmtxreCEs40msIpIUOtlCNgombJz12bj6IRbA8tLh9EFL_1CHo7VAqbnMTSJrLJsOeIIlfY9q6aDoGVIh6-Sm1ApWTeeFUylOy12cxRnfM3Go3JMto30DTT0PyIt2EcL3w"

	TokenInvalid = "TokenInvalid"
)
